package com.cheng.project_model1.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 调用jwt模块Service
 *
 * @author dell
 */
@FeignClient(value = "project-model2")
public interface Model2Service {
    /**
     * 插入
     */
    @PostMapping(value = "/insert", consumes = MediaType.APPLICATION_JSON_VALUE)
    void insert();
}
